These preliminary tests check underscore:

The word _underscored_ should NOT be underscored.

The word __underscored__ should be underscored.

Emphasis using __should not
extend__ from one paragraph to the next!

The word <u>underscored</u> should be underscored

There should NOT be underscores around _underscored phrase_ in this text

This should be a __underscored phrase__ in the midst of text

This should be a <U>underscored phrase</U> in the midst of text

Unmatched underscores _ should print

Unmatched double underscores __ should also print

Underscores inside_a_word should print

Double Underscores inside__a__word should print

A double underscore __ should be printed as a pair of underscores
And should not__ continue to the next line!

----

When underscores don't balance they should all print  _Three_underscores__ should print

One underscore _ is unbalanced and should print
Two underscores __ are unbalanced and should print two underscores (no ending emphasis)
Three underscores ___ are unbalanced and should print three underscores (no ening emphasis)
Four underscores ____ are balanced and should print two underscores
Five underscores _____ are not balanced and should print two(?) underscores
Six underscores ______ are not balanced and should print three(?) underscores
